<?php
/**
 * Created by PhpStorm.
 * User: s.utkin
 * Date: 17.04.2015
 * Time: 14:42
 */

namespace LogCollector;


use Pinenut\Model2;

class LogItem extends Model2 {
	public $action;
	public $type;
	public $time;
	public $title;
	public $data;

	static function fields()
	{
		return array_merge(
			parent::fields(),
			[
				'action' => self::STRING,
				'type' => self::STRING,
				'time' => self::DATE,
				'title' => self::STRING,
				'data' => self::STRING,
			]
		);
	}
}